package com.hopu.blb_erp.service;


import com.hopu.blb_erp.entity.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DepartmentService {

    Department findById(@Param("id")Integer id);

    List<Department> findTree();

    void addDepart(Department department);

    void modifyDepart(Department department);

    void  removeDepart(@Param("id")Integer id);
}
